package com.wxapp.common.constant.enums;

import com.wxapp.common.constant.base.IBaseEnum;

public enum FileTypeEnum implements IBaseEnum<String> {
    PNG("png","png图片"),
    JPG("jpg","jpg图片"),
    BMP("bmp","bmp图片"),
    TIFF("tiff","tiff图片"),
    SVG("svg","svg图片"),
    TXT("txt","txt文件"),
    DOC("doc","doc文件"),
    DOCX("docx","docx文件"),
    XLSX("xlsx","xlsx文件"),
    XLS("xls","xls文件"),
    MP4("mp4","mp4文件"),
    MP3("mp3","mp3文件"),
    ;
    private final String value;
    private final String desc;

    FileTypeEnum(String value, String desc) {
        this.desc = desc;
        this.value = value;
    }
    @Override
    public String getValue() {
        return value;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
